package com.centaline.androidsalesblog.api.newest;

import com.centaline.androidsalesblog.api.NewEstApi;
import com.centaline.androidsalesblog.model.responseobject.NewPropPhoneRo;
import com.centanet.framework.interfaces.IResponseListener;

/**
 * 新盘400
 * Created by guilin on 16/2/26.
 */
public class NewPropPhoneApi extends NewEstApi<NewPropPhoneRo> {

    private String StaffNos;
    private String TargetValue;

    public NewPropPhoneApi(Class<?> tag, Class<NewPropPhoneRo> aClass, IResponseListener<NewPropPhoneRo> iResponseListener) {
        super(tag, aClass, iResponseListener);
    }

    public void setStaffNos(String staffNos) {
        StaffNos = staffNos;
    }

    public void setTargetValue(String targetValue) {
        TargetValue = targetValue;
    }

    @Override
    protected void setParams() {
        putParams("StaffNos", StaffNos);
        putParams("Target", 1);
        putParams("TargetValue", TargetValue);
    }

    @Override
    protected String getPath() {
        return "PhoneRequest";
    }
}
